package com.ruoyi.cp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.exception.CustomException;
import com.ruoyi.cp.domain.Lottery;

import java.util.List;

/**
 * 彩票用户 服务层
 * 
 * @author wh
 * @date 2019-06-25
 */
public interface ILotteryService extends IService<Lottery> {
    /**
    * 列表查询
    */
    List<Lottery> list(Lottery lottery);

    void addVip(Integer lotteryId, String vipExpire) throws CustomException;
}
